'Declaration
Public Function New( _ ByVal size() As Integer, _ ByVal bitsPerSample As Integer, _ ByVal interpolationMode As PdfFunctionInterpolationMode, _ ByVal encode() As Double, _ ByVal decode() As Double, _ ByVal samples() As Byte _ )
'Usage
Dim size() As Integer Dim bitsPerSample As Integer Dim interpolationMode As PdfFunctionInterpolationMode Dim encode() As Double Dim decode() As Double Dim samples() As Byte Dim instance As New PdfSampleFunction(size, bitsPerSample, interpolationMode, encode, decode, samples)
public PdfSampleFunction( int[] size, int bitsPerSample, PdfFunctionInterpolationMode interpolationMode, double[] encode, double[] decode, byte[] samples )
public: PdfSampleFunction( array<int>^ size, int bitsPerSample, PdfFunctionInterpolationMode interpolationMode, array<double>^ encode, array<double>^ decode, array<byte>^ samples )
Parameters
- size
- An array of m positive integers specifying the number of samples in each input dimension of the sample table.
- bitsPerSample
- The number of bits used to represent each sample.
- interpolationMode
- The interpolation mode between samples.
- encode
- An array of 2 x m numbers specifying the linear mapping of input values into the domain of the function's sample table.
- decode
- An array of 2 x n numbers specifying the linear mapping of sample values into the range appropriate for the function's output values.
- samples
- Sample function data.